package com.itheima.mapper;
/*
    ヾ(❀ﾟ▽ﾟ)ノ 
 
 Grey1996year@163.com 
 
*/

import com.itheima.pojo.Member;
import com.itheima.pojo.Order;
import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderMapper {


	OrderSetting queryDateIsSet(Date orderDate);

	Member queryIsMember(String phoneNumber);

	void addOrder(Order order);

	List<Order> findByOrder(Order order);

	void addMember(Member member);

	void updateOrderSetting(OrderSetting orderSetting);

	Map findById(Integer id);

	int queryTodayOrderNumber(String date);

	int queryTodayVisitsNumber(String date);

	int queryThisWeekOrderNumber(String today);

	int queryThisWeekVisitsNumber(String today);

	int queryThisMonthOrderNumber(String firstDay4ThisMonth);

	int queryThisMonthVisitsNumber(String firstDay4ThisMonth);
}
